import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from '@/home/Home'
import HomeTwo from '@/home2/Home2'
//城市规划
import City from '@/city/Home'
import Content from '@/city/Content'
//多彩旅游资源
import ColorfulHome from '@/colorful-travel/Home'
import ColorfulContent from '@/colorful-travel/Content'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/home-two',
      name: 'Home2',
      component: HomeTwo
    },
      {
          path: '/city',   //城市规划首页
          name: 'City',
          component: City
      },
      {
          path: '/city-colorful', //道路规划
          name: 'City',
          component: Content
      },
      {
          path: '/colorful', //道路规划
          name: 'colorful-travel',
          component: ColorfulHome
      },
      {
          path: '/colorful-content', //道路规划
          name: 'colorful-travel',
          component: ColorfulContent
      }
  ]
})
